import 'package:flutter/material.dart';
import 'package:get/get.dart';


class AuthMiddleware extends GetMiddleware {
  @override
  RouteSettings? redirect(String? route) {
    print('JtTag:AuthMiddleware:${route}');
    Get.back();
    return  null;
  }

  // @override
  // List<Bindings> onBindingsStart(List<Bindings> bindings) {
  //   final authService = Get.find<AuthService>();
  //   // if (authService.isAdmin) {
  //     // bindings.add(AdminBinding());
  //   // }
  //   return bindings;
  // }
}

class AuthService {
}